#ifndef JOURNEY_DEFINE
#define JOURNEY_DEFINE

#define  JOURNEY_STATIC_CLASS_NAMBER(_className_) \
public:\
static _className_* getInstance()  \
{  \
    if (nullptr == _instance)  \
    {  \
        _instance = new _className_();  \
        return _instance;  \
    } \
    return _instance; \
}; \
private:  \
static _className_* _instance; \
public:

#define  JOURNEY_STATIC_NAMBER_INIT(_className_) _className_* _className_::_instance=nullptr



#endif